import React, { Component } from 'react';
import {BrowserRouter as Router, Route, Switch} from 'react-router-dom';
import App from 'modules/App/app';
import Login from 'containers/Login/Login';

const AppRouter = () => (
  <Router>
    <Switch>
      <Route path="/" exact component={App}></Route>
      <Route path="/login" component={Login}></Route>
    </Switch>
  </Router>
);

export default AppRouter;
